﻿<Window x:Class="RESX_Utils.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="RESX Utils" Width="668" Height="546" ResizeMode="NoResize" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen">
    <Window.TaskbarItemInfo>
        <TaskbarItemInfo/>
    </Window.TaskbarItemInfo>
    <Grid Margin="0,0,0,6">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <Label Content="_Resource File:" HorizontalAlignment="Left" Height="37" Margin="23,27,0,0" VerticalAlignment="Top" Width="144" HorizontalContentAlignment="Right" IsHitTestVisible="True"/>
        <Label Content="_Project Files:" HorizontalAlignment="Left" Height="36" Margin="23,99,0,0" VerticalAlignment="Top" Width="144" HorizontalContentAlignment="Right"/>
        <ComboBox x:Name="ProjectFiles" HorizontalAlignment="Left" Margin="172,99,0,0" VerticalAlignment="Top" Width="349" Height="25" IsEditable="True" IsTabStop="True"/>
        <Button HorizontalAlignment="Left" Margin="526,99,0,0" VerticalAlignment="Top" Width="31" Height="25" Click="BrowseProject_Click">
            <Image Height="21" Source="Open.png" Stretch="Fill" Width="27"/>
        </Button>
        <Label Content="_Master Resource File:" HorizontalAlignment="Left" Height="35" Margin="24,387,0,0" VerticalAlignment="Top" Width="144" HorizontalContentAlignment="Right" IsHitTestVisible="True"/>
        <Button x:Name="CompareButton" Content="_Compare Resources" HorizontalAlignment="Left" Margin="172,460,0,0" VerticalAlignment="Top" Width="141" Height="28" Click="CompareButton_Click"/>
        <TextBox x:Name="ContentFileExtensions" HorizontalAlignment="Left" Height="25" Margin="174,181,0,0" Text=".cshtml,.aspx,.ascx" VerticalAlignment="Top" Width="454"/>
        <Label Content="Content files:" HorizontalAlignment="Left" Height="35" Margin="25,181,0,0" VerticalAlignment="Top" Width="144" HorizontalContentAlignment="Right"/>
        <TextBox x:Name="ResourceFile2" HorizontalAlignment="Left" Height="25" Margin="173,390,0,0" VerticalAlignment="Top" Width="418"/>
        <TextBox x:Name="ResourceFile" HorizontalAlignment="Left" Height="25" Margin="172,27,0,0" VerticalAlignment="Top" Width="420"/>
        <Button x:Name="AddProjectFile" Content="+" HorizontalAlignment="Left" Margin="562,100,0,0" VerticalAlignment="Top" Width="30" Height="25" Click="AddProjectFile_Click"/>
        <Button x:Name="RemoveProjectFile" Content="-" HorizontalAlignment="Left" Height="25" Margin="597,100,0,0" VerticalAlignment="Top" Width="30" RenderTransformOrigin="-6.825,0.2" Click="RemoveProjectFile_Click"/>
        <TextBlock HorizontalAlignment="Left" Margin="174,211,0,0" TextWrapping="Wrap" Text="We always analyze compile files (such as *.cs). Additionally, you can specify extensions (comma-separated) of content files you want to include into the analysis." VerticalAlignment="Top" Width="453" Height="35"/>
        <Button HorizontalAlignment="Left" Margin="597,27,0,0" VerticalAlignment="Top" Width="31" Height="25" Click="BrowseRESX_Click">
            <Image Height="21" Source="Open.png" Stretch="Fill" Width="27"/>
        </Button>
        <Button HorizontalAlignment="Left" Margin="596,390,0,0" VerticalAlignment="Top" Width="31" Height="25" Click="BrowseResx2_Click">
            <Image Height="21" Source="Open.png" Stretch="Fill" Width="27"/>
        </Button>
        <TextBlock HorizontalAlignment="Left" Margin="174,288,0,0" TextWrapping="Wrap" Text="We detect concatenated resources by looking for constants in the code. You can specify prefixes (comma-separated) of resources that you do not want to remove, such as external resources, or concatenated resources that we cannot detect." VerticalAlignment="Top" Width="453" Height="53"/>
        <Label Content="Exceptions:" HorizontalAlignment="Left" Height="35" Margin="23,258,0,0" VerticalAlignment="Top" Width="144" HorizontalContentAlignment="Right"/>
        <TextBox x:Name="Exclusions" HorizontalAlignment="Left" Height="25" Margin="173,258,0,0" Text="ConcatenatedId_" VerticalAlignment="Top" Width="454"/>
        <Button x:Name="DetectDuplicates" Content="Detect String Duplicates" HorizontalAlignment="Left" Height="28" Margin="172,57,0,0" VerticalAlignment="Top" Width="141" Click="DetectDuplicates_Click"/>
        <Button Content="_Analyze Usage" HorizontalAlignment="Left" Height="28" Margin="172,346,0,0" VerticalAlignment="Top" Width="141" Click="Scan_Click"/>
        <TextBlock HorizontalAlignment="Left" Margin="174,420,0,0" TextWrapping="Wrap" Text="Specify a &quot;master&quot; or &quot;common&quot; resource file to compare the resource file to, and determine identifier duplicates and string discrepancies." VerticalAlignment="Top" Width="454" Height="35"/>
        <ProgressBar x:Name="ProgressBar" HorizontalAlignment="Left" Height="10" VerticalAlignment="Top" Width="662" Value="-2" BorderThickness="0" IsHitTestVisible="False" Cursor="" IsTabStop="False" Background="White"/>
        <TextBlock HorizontalAlignment="Left" Margin="174,129,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="36" Width="453"><Run Text="Add multiple files by using browse or plus. Added files appear in the drop-down. To remove a file, select it in the drop-down and then click minus."/><LineBreak/><Run/></TextBlock>

    </Grid>
</Window>
